package com.carlton.service;

import java.util.List;

public interface SnowflakeService {

	/**
	 * ID获取
	 *
	 * @return
	 */
	Long obtainId();

	/**
	 * 批量获取ID
	 *
	 * @param max 最大不超过100
	 * @return
	 */
	List<Long> batchObtainId(Integer max);
}
